/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.command;

/**
 * @author caicongyang1
 * @version id: Invoker, v 0.1 17/5/18 下午9:06 caicongyang1 Exp $$
 */
public class Invoker {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void ExceuteCommand() {
        command.execute();
    }
}
